<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../vue.js"></script>
</head>
<body>
    <div id="app">
        <input type="text" v-model='val1'>
        <span>{{val1}}</span>
        <hr>
        <label>男</label><input type="radio" name="msg" value="1" v-model='val2'>
        <label>女</label><input type="radio" name="msg" value="2" v-model='val2'>
        <span>{{val2}}</span>
        <hr>
        <label>唱</label><input type="checkbox" name="hobble" value="c" v-model='val3'>
        <label>跳</label><input type="checkbox" name="hobble" value="t" v-model='val3'>
        <label>rap</label><input type="checkbox" name="hobble" value="rap" v-model='val3'>
        <label>篮球</label><input type="checkbox" name="hobble" value="lq" v-model='val3'>
        <span>{{val3}}</span>
    </div>
</body>
<script>
    let vm=new Vue({
        el:"#app",
        data:{
            val1:'',
            val2:'',
            val3:[]
        },
        methods:{

        }
    })
</script>
</html>